package com.xsf.jieyou.provider.configure;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * oAuth2 资源服务器 配置值
 * <p>
 * Description:暂时只是为了 定义 密码加密器 BCryptPasswordEncoder
 * </p>
 *
 * @author xsf
 * @version v1.0.0
 * @date 2019/11/15 0015 0:48
 * @see com.xsf.jieyou.provider.configure
 **/
@Configuration
public class TbUserResourceConfiguration {
    @Bean
    public BCryptPasswordEncoder passwordEncoder() {
        return new BCryptPasswordEncoder();
    }
}
